package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Students10Mapper;
import com.ruoyi.system.domain.Students10;
import com.ruoyi.system.service.IStudents10Service;

/**
 * 学生表10Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
@Service
public class Students10ServiceImpl implements IStudents10Service 
{
    @Autowired
    private Students10Mapper students10Mapper;

    /**
     * 查询学生表10
     * 
     * @param studentId 学生表10主键
     * @return 学生表10
     */
    @Override
    public Students10 selectStudents10ByStudentId(Long studentId)
    {
        return students10Mapper.selectStudents10ByStudentId(studentId);
    }

    /**
     * 查询学生表10列表
     * 
     * @param students10 学生表10
     * @return 学生表10
     */
    @Override
    public List<Students10> selectStudents10List(Students10 students10)
    {
        return students10Mapper.selectStudents10List(students10);
    }

    /**
     * 新增学生表10
     * 
     * @param students10 学生表10
     * @return 结果
     */
    @Override
    public int insertStudents10(Students10 students10)
    {
        return students10Mapper.insertStudents10(students10);
    }

    /**
     * 修改学生表10
     * 
     * @param students10 学生表10
     * @return 结果
     */
    @Override
    public int updateStudents10(Students10 students10)
    {
        return students10Mapper.updateStudents10(students10);
    }

    /**
     * 批量删除学生表10
     * 
     * @param studentIds 需要删除的学生表10主键
     * @return 结果
     */
    @Override
    public int deleteStudents10ByStudentIds(Long[] studentIds)
    {
        return students10Mapper.deleteStudents10ByStudentIds(studentIds);
    }

    /**
     * 删除学生表10信息
     * 
     * @param studentId 学生表10主键
     * @return 结果
     */
    @Override
    public int deleteStudents10ByStudentId(Long studentId)
    {
        return students10Mapper.deleteStudents10ByStudentId(studentId);
    }
}
